#define STACK_INIT_SIZE 100
#include <stdio.h>
#include <stdlib.h>
#define STACKINCREMENT 10
#define TRUE 1
#define FALSE 0
#define OK 1
#define ERROR 0
#define INFEASIBLE -1
#define OVERFLOW -2
typedef int Status;
typedef int SElemType;
typedef struct{
    SElemType *base;
    SElemType *top;
    int stacksize;
}SqStack;
Status InitStack(SqStack &S){
    S.base=(SElemType *)malloc(STACK_INIT_SIZE*sizeof(SElemType));
    if (!S.base) {
        return OVERFLOW;
    }
    S.top = S.base;
    S.stacksize = STACK_INIT_SIZE;
    return OK;
}
Status InitStack
